#ifndef _BONUS_H_
#define _BONUS_H_

#include "Ship.h"

namespace model
{
class Bonus : public Entity
{
public:
	Bonus(void);
	virtual ~Bonus(void);
	string getImagePath(void);
	void setImagePath(string);
	void setStartTime(double);
	double getStartTime(void);
	void updatePositions(double);
	void applyTo(Ship*);

	typedef enum BonusType
	{
		UNDEFINED,
		MISSILE,
		SUPER_SHIELD,
		LASER,
		NEUTRON_BOMB,
		INVISIBILITY,
		MINE,
		BOMB,
		GUIDED_MISSILE,
		SHIELD,
		GRAVITATIONAL_SHIELD,
		GRAVITATIONAL_WEAPON
	};

	void setType(BonusType);
	BonusType getType(void);
private:
	string imagePath;
	double startTime;
	BonusType type;
};
};

#endif
